package com.boliq.demo;

import android.os.Bundle;
import android.widget.ImageView;
import android.widget.TextView;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

/**
 * <pre>
 * ================================================
 * 作者: BLQ_SSNB
 * 日期：2021/3/2
 * 邮箱: blq_ssnb@outlook.com
 * 修改次数: 1
 * 描述:
 *      添加描述
 * ================================================
 * </pre>
 */
public class SettingActivity extends AppCompatActivity {
    private ImageView backBtn;
    private TextView versionName;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_setting);

        versionName = findViewById(R.id.tv_version);
        backBtn = findViewById(R.id.img_nav_back_btn);

        versionName.setText(BuildConfig.VERSION_NAME);

        backBtn.setOnClickListener(v -> onBackPressed());
    }
}
